package cn.yili12.server.websocket;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "chat.websocket")
public class WebSocketProperties {

    private String host = "localhost"; // 监听地址
    private Integer port = 8888; // 监听端口
    private String path = "/ws"; // 请求路径

}